/*
 * @Author: ljkt
 * @Version: 2.0
 * @Date: 2022-05-16 11:06:33
 * @LastEditors: ljkt
 * @LastEditTime: 2025-01-28 16:05:20
 * @Description:
 */
#include "./Hal/mcu_example/Hal_Common_Func.h"

#if defined(EN_TIMER0) || defined(EN_TIMER1) || defined(EN_TIMER2) || defined(EN_TIMER3)
#ifdef EN_TIMER0
unsigned short reload0 = 0;
#endif
#ifdef EN_TIMER1
unsigned short reload1 = 0;
#endif
#ifdef EN_TIMER2
unsigned short reload2 = 0;
#endif
#ifdef EN_TIMER3
unsigned short reload3 = 0;
#endif
void Hal_Tmrx_Start(s_tmrx_config_t *config)
{
	switch (config->index)
	{
#ifdef EN_TIMER0
	case e_HAL_TIMER0:
		break;
#endif
#ifdef EN_TIMER1
	case e_HAL_TIMER1:
		break;
#endif
#ifdef EN_TIMER2
	case e_HAL_TIMER2:
		break;
#endif
#ifdef EN_TIMER3
	case e_HAL_TIMER3:
		break;
#endif
	default:
		break;
	}
}
void Hal_Tmrx_Stop(s_tmrx_config_t *config)
{
	switch (config->index)
	{
#ifdef EN_TIMER0
	case e_HAL_TIMER0:
		break;
#endif
#ifdef EN_TIMER1
	case e_HAL_TIMER1:
		break;
#endif
#ifdef EN_TIMER2
	case e_HAL_TIMER2:
		break;
#endif
#ifdef EN_TIMER3
	case e_HAL_TIMER3:
		break;
#endif
	default:
		break;
	}
}
void Hal_Tmrx_IF_Clr(s_tmrx_config_t *config)
{
	switch (config->index)
	{
#ifdef EN_TIMER0
	case e_HAL_TIMER0:
		break;
#endif
#ifdef EN_TIMER1
	case e_HAL_TIMER1:
		break;
#endif
#ifdef EN_TIMER2
	case e_HAL_TIMER2:
		break;
#endif
#ifdef EN_TIMER3
	case e_HAL_TIMER3:
		break;
#endif
	default:
		break;
	}
}
void Hal_Tmrx_Init(s_tmrx_config_t *config)
{
	switch (config->index)
	{
#ifdef EN_TIMER0
	case e_HAL_TIMER0:
		break;
#endif
#ifdef EN_TIMER1
	case e_HAL_TIMER1:
		break;
#endif
#ifdef EN_TIMER2
	case e_HAL_TIMER2:
		break;
#endif
#ifdef EN_TIMER3
	case e_HAL_TIMER3:
		break;
#endif
	default:
		break;
	}
	Hal_Tmrx_Start(config);
}

#endif